using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class MdKnifeEntity : EntityBase
{
public MdKnifeTable TableSchema
{
get
{
return (MdKnifeTable)_tableSchema;
}}

public MdKnifeEntity()
{
_tableSchema = MdKnifeTable.Current;
}

#region 属性列表

public String KnifeID
{
get { return Convert.ToString(GetData(MdKnifeTable.C_KNIFEID)); }
set { SetData(MdKnifeTable.C_KNIFEID, value); }
}

public String KnifeName
{
get { return Convert.ToString(GetData(MdKnifeTable.C_KNIFENAME)); }
set { SetData(MdKnifeTable.C_KNIFENAME, value); }
}

public String KnifeTypeID
{
get { return Convert.ToString(GetData(MdKnifeTable.C_KNIFETYPEID)); }
set { SetData(MdKnifeTable.C_KNIFETYPEID, value); }
}

public String Specifications
{
get { return Convert.ToString(GetData(MdKnifeTable.C_SPECIFICATIONS)); }
set { SetData(MdKnifeTable.C_SPECIFICATIONS, value); }
}

public String Unit
{
get { return Convert.ToString(GetData(MdKnifeTable.C_UNIT)); }
set { SetData(MdKnifeTable.C_UNIT, value); }
}

public String BelongCustomer
{
get { return Convert.ToString(GetData(MdKnifeTable.C_BELONGCUSTOMER)); }
set { SetData(MdKnifeTable.C_BELONGCUSTOMER, value); }
}

public String Factory
{
get { return Convert.ToString(GetData(MdKnifeTable.C_FACTORY)); }
set { SetData(MdKnifeTable.C_FACTORY, value); }
}

public Decimal? SafeStock
{
get { return Convert.ToDecimal(GetData(MdKnifeTable.C_SAFESTOCK)); }
set { SetData(MdKnifeTable.C_SAFESTOCK, value); }
}

public String Status
{
get { return Convert.ToString(GetData(MdKnifeTable.C_STATUS)); }
set { SetData(MdKnifeTable.C_STATUS, value); }
}

public DateTime? CreateDate
{
get { return Convert.ToDateTime(GetData(MdKnifeTable.C_CREATEDATE)); }
set { SetData(MdKnifeTable.C_CREATEDATE, value); }
}

public String ModifyUserName
{
get { return Convert.ToString(GetData(MdKnifeTable.C_MODIFYUSERNAME)); }
set { SetData(MdKnifeTable.C_MODIFYUSERNAME, value); }
}

public String CreateUserID
{
get { return Convert.ToString(GetData(MdKnifeTable.C_CREATEUSERID)); }
set { SetData(MdKnifeTable.C_CREATEUSERID, value); }
}

public String CreateUserName
{
get { return Convert.ToString(GetData(MdKnifeTable.C_CREATEUSERNAME)); }
set { SetData(MdKnifeTable.C_CREATEUSERNAME, value); }
}

public DateTime? ModifyDate
{
get { return Convert.ToDateTime(GetData(MdKnifeTable.C_MODIFYDATE)); }
set { SetData(MdKnifeTable.C_MODIFYDATE, value); }
}

public String ModifyUserID
{
get { return Convert.ToString(GetData(MdKnifeTable.C_MODIFYUSERID)); }
set { SetData(MdKnifeTable.C_MODIFYUSERID, value); }
}

public String KnifeStatus
{
get { return Convert.ToString(GetData(MdKnifeTable.C_KNIFESTATUS)); }
set { SetData(MdKnifeTable.C_KNIFESTATUS, value); }
}

#endregion
}
}